package com.yuanfeng.base.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.yuanfeng.base.dto.IntegralRulesDTO;
import com.yuanfeng.base.entity.BaseIntegralRulesEntity;
import com.yuanfeng.commoms.util.ResponseResult;

/**
 * @ClassName BaseIntegralRulesService
 * @Description
 * @Author cyp
 * @Date 2023-05-22 16:51:47
 * @Version 1.0
 **/
public interface BaseIntegralRulesService extends IService<BaseIntegralRulesEntity> {

    /**
     * 查询积分规则
     * @return
     */
    ResponseResult queryIntegralRules();


    /**
     * 添加 或 修改积分规则
     * @param param
     * @return
     */
    ResponseResult integralRulesAddOrUpdate(IntegralRulesDTO param);
}
